[#Menu : Gateway of Tally]
 Add  :keyitem : Before : @@Locquit : "Address Book" :z: Display:TWS_AddressBook
 Add  :key item : Before : "Address Book" : ""
[Part: TWS_AddressBook_TOP]
 Line : TWS_AddressBook_TOP
 Space Top: 3 mm 
 Space Bottom: 3 mm 
[Part:TWS_AddressBook_Title]
 Line : TWS_AddressBook_Title
[Collection: TWS_AddressBook_Collection]
Type  : Ledger
Sort  : @@Default:$Name
Fetch :LedgerContact ,Address  ,Email,LedgerGroupNo,Website,PinCode,LedgerPhone,LedgerMobile,IncomeTaxNumber
Fetch :EMailCC,LedStateName,PartyGSTIN,Description,Parent
Filter:TWS_AddressBook_Filter
[Line:TWS_AddressBook_Title]
 Field: TWS_AddressBook_SRNO,TWS_AddressBook_PartyName
 RightField: TWS_AddressBook_Address,TWS_AddressBook_Group
 RightField: TWS_AddressBook_Pincode,TWS_AddressBook_State
 RightField: TWS_AddressBook_ContactPerson,TWS_AddressBook_Phone
 RightField: TWS_AddressBook_Mobile,TWS_AddressBook_Email
 RightField: TWS_AddressBook_Website,TWS_AddressBook_PAN
 RightField: TWS_AddressBook_GST,TWS_AddressBook_RegType
 Border: thin top bottom
 Local: Field: Default : Line: 2
 Local: Field: default : Style: normal bold
[Field:TWS_AddressBook_SRNO]
 Use  : name field
 Set as : "Sr No"
 Style : Small Bold
 Align : Centre
 Width : 10 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_ContactPerson]
 Use  : name field
 Set as : "Contact Person"
 Style : Small Bold
 Align : Centre
 Width : 47 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_Address]
 Use  : name field
 Set as : "Address"
 Style : Small Bold
 Align : Centre
 Width : 80 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_iPincode]
 Use  : Name field
 Set as : $PinCode
 Style : Small Bold
 Align : Left
 Width : 30 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_iPhone]
 Use  : Name field
 Set as : $LedgerPhone
 Style : Small Bold
 Align : Left
 Width : 30 mm
[Field:TWS_AddressBook_Pincode]
 Use  : name field
 Set as : "Pincode"
 Style : Small Bold
 Align : Centre
 Width : 30 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_Phone]
 Use  : name field
 Set as : "Phone No"
 Style : Small Bold
 Align : Centre
 Width : 30 mm
[Field:TWS_AddressBook_Mobile]
 Use  : name field
 Set as : "Mobile No"
 Style : Small Bold
 Align : Centre
 Width : 47 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_PAN]
 Use  : name field
 Set as : "PAN No"
 Style : Small Bold
 Align : Centre
 Width : 47 mm
 Border : Thin Left Right
 [Field:TWS_AddressBook_RegType]
 Use  : name field
 Set as : "Reg Type"
 Style : Small Bold
 Align : Centre
 Width : 47 mm
 Border : Thin Left Right
 [Field:TWS_AddressBook_State]
 Use  : name field
 Set as : "State Name"
 Style : Small Bold
 Align : Centre
 Width : 47 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_GST]
 Use  : name field
 Set as : "GSTIN"
 Style : Small Bold
 Align : Centre
 Width : 47 mm
 Border : Thin Left Right
[Report: TWS_AddressBook]
 Family   : $$Translate:"Address Book"
 Title    : "Address Book"
 PrintSet : Report Title   : "Address Book"
 PrintSet : Report SubTitle    : ""
 PrintSet : PrintFileName     : "Address Book"
 Form: TWS_AddressBook
[Form:TWS_AddressBook]
 Part : TWS_AddressBook_TOP
 Part : TWS_AddressBook_Details
 Height: 100% page
 Width: 100% page
 Space Left: IF $$InPrintMode THEN 15 ELSE 0 mm
 Space Right: IF $$InPrintMode THEN 15 ELSE 0 mm
 Button :  PrintButton, ExportButton, UploadButton, MailButton
[Field:TWS_AddressBook_iSRNO]
 Use  : name field
 Set as : $$Line
 Style : Small Bold
 Align : Centre
 Width : 10 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_iContactPerson]
 Use  : Name field
 Set as : $LedgerContact
 Style : Small Bold
 Align : Left
 Width : 47 mm
 Border : Thin Left Right
 [Field:TWS_AddressBook_PartyName]
 Use  : name field
 Set as : "Party Name"
 Style : Small Bold
 Align : Centre
 Width : 70 mm
 Border : Thin Left 
[Field:TWS_AddressBook_Email]
 Use  : name field
 Set as : "Email"
 Style : Small Bold
 Align : Centre
 Width : 47 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_Group]
 Use  : name field
 Set as : "Group"
 Style : Small Bold
 Align : Centre
 Width : 47 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_Website]
 Use  : name field
 Set as : "Website"
 Style : Small Bold
 Align : Centre
 Width : 47 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_iAddress]
 Use  : name field
 Style : Small Bold
 Align : Left
 Width : 80 mm
 Border : Thin   Right
 Set as : @LedWelcome_Add 
 Local Formula: LedWelcome_Add  : IF ($$Number:$$ProdInfo:ProdReleaseAsStr) >= 3.0 THEN $$Fulllist:TWS_AddressBook_Addresss:$Address ELSE $$Fulllist:Address:$Address
[Collection:TWS_AddressBook_Addresss]
 Source Collection:Default
 Walk:LedMailingDetails,Address
 Fetch:Address
[Field:TWS_AddressBook_iGST]
 Use  : Name field
 Style : Small Bold
 Align : Left
 Width : 47 mm
 Border : Thin Left Right
 Set as : @LedWelcome_GST
 Local Formula: LedWelcome_GST  : IF ($$Number:$$ProdInfo:ProdReleaseAsStr) >= 3.0 THEN $LedGSTRegDetails[Last].GSTIN ELSE $PartyGSTIN 
[Field:TWS_AddressBook_iPartyName]
 Use  : name field
 Set as : $Name
 Style : Small Bold
 Align : Left
 Width : 70 mm
 Border : Thin Left 
 Alter : Ledger
 Quick Search:Yes
[Field:TWS_AddressBook_iEmail]
 Use  : name field
 Set as : $Email
 Style : Small Bold
 Align : Left
 Width : 47 mm
 Border : Thin Left Right
 [System:Formulas]
TWS_AddressBook_Filter : $$IsBelongsTo:$$GroupSundryDebtors OR $$IsBelongsTo:$$GroupSundryCreditors
[Field:TWS_AddressBook_iGroup]
 Use  : Name field
 Set as : $Parent
 Style : Small Bold
 Align : Left
 Width : 47 mm
 Border : Thin Left Right
 
[Field:TWS_AddressBook_iWebsite]
 Use  : Name field
 Set as : $Website
 Style : Small Bold
 Align : Left
 Width : 47 mm
 Border : Thin Left Right
 [Part:TWS_AddressBook_Details]
 Line :  TWS_AddressBook_Title
 Line :  TWS_AddressBook_Details
 Repeat :  TWS_AddressBook_Details : TWS_AddressBook_Collection
 Scroll: Both
 Common Border: Yes
[Field:TWS_AddressBook_iMobile]
 Use  : Name field
 Set as : $LedgerMobile
 Style : Small Bold
 Align : Left
 Width : 47 mm
 Border : Thin Left Right

[Field:TWS_AddressBook_iPAN]
 Use  : Name field
 Set as : $IncomeTaxNumber
 Style : Small Bold
 Align : Left
 Width : 47 mm
 Border : Thin Left Right
  [Line  : TWS_AddressBook_TOP]
 Field: Name Field
 Local: Field : Name Field : Set as   : "Address Book"
 Local: Field : Name Field : Style : large Bold
 Local: Field : Name Field : Full Width: Yes 
 Local: Field : Name Field : Align :Centre
[Line:TWS_AddressBook_Details]
 Field: TWS_AddressBook_iSRNO,TWS_AddressBook_iPartyName
 RightField: TWS_AddressBook_iAddress,TWS_AddressBook_iGroup
 RightField: TWS_AddressBook_iPincode,TWS_AddressBook_iState
 RightField: TWS_AddressBook_iContactPerson,TWS_AddressBook_iPhone
 RightField: TWS_AddressBook_iMobile,TWS_AddressBook_iEmail
 RightField: TWS_AddressBook_iWebsite,TWS_AddressBook_iPAN
 RightField: TWS_AddressBook_iGST,TWS_AddressBook_iRegType
 Border: thin  bottom
 Local: Field: default : Style: normal 
 Next Page : NOT $$DoExplosionsFit
 Key   : Line Object Enter Alter, Line Click Object Enter Alter  
[Field:TWS_AddressBook_iRegType]
 Use  : name field
 Set as : $LedGSTRegDetails[Last].GSTRegistrationType
 Style : Small Bold
 Align : Left
 Width : 47 mm
 Border : Thin Left Right
[Field:TWS_AddressBook_iState]
 Use  : name field
 Set as : $LedStateName
 Style : Small Bold
 Align : Left
 Width : 47 mm
 Border : Thin Left Right